//
//  LoadMoreFooterView.h
//  Finance
//
//  Created by cheng xiang on 13-4-11.
//  Copyright (c) 2013年 cheng xiang. All rights reserved.
//  上拉刷新页面


#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

typedef enum{
	LoadMorePulling = 0,
	LoadMoreNormal,
	LoadMoreLoading,
} LoadMoreState;

@protocol LoadViewFooterDelegate;
@interface LoadMoreFooterView : UIView {
	
	id __weak _delegate;
	LoadMoreState _state;
    
	UILabel *_statusLabel;
	
	UIActivityIndicatorView *_activityView;
	
    
}

@property(nonatomic,weak) id <LoadViewFooterDelegate> delegate;
@property(nonatomic,strong) CALayer *arrowImage;

- (void)loadMoreScrollViewDidScroll:(UIScrollView *)scrollView;
- (void)loadMoreScrollViewDidEndDragging:(UIScrollView *)scrollView;
- (void)loadMoreScrollViewDataSourceDidFinishedLoading:(UIScrollView *)scrollView;

@end
@protocol LoadViewFooterDelegate
- (void)loadMoreTableFooterDidTriggerRefresh:(LoadMoreFooterView*)view;
- (BOOL)loadMoreTableFooterDataSourceIsLoading:(LoadMoreFooterView*)view;

@end
